package vn.hocweb.entity;

public class ViDu extends Entity{
	private long maViDu;
	private String ten;
	private String maNguon;
	
	private BaiViet baiViet;

	public ViDu(int thuTu, boolean noiBat, boolean hienThi, long maViDu,
			String ten, String maNguon, long maBaiViet) {
		super(thuTu, noiBat, hienThi);
		this.maViDu = maViDu;
		this.ten = ten;
		this.maNguon = maNguon;
		this.baiViet = new BaiViet(maBaiViet);
	}

	public long getMaViDu() {
		return maViDu;
	}

	public void setMaViDu(long maViDu) {
		this.maViDu = maViDu;
	}

	public String getTen() {
		return ten;
	}

	public void setTen(String ten) {
		this.ten = ten;
	}

	public String getMaNguon() {
		return maNguon;
	}

	public void setMaNguon(String maNguon) {
		this.maNguon = maNguon;
	}

	public BaiViet getBaiViet() {
		return baiViet;
	}

	public void setBaiViet(BaiViet baiViet) {
		this.baiViet = baiViet;
	}
	
}
